Ext.define('UDZ.view.personal.Address_Change', {
    extend: 'Ext.Panel',
    xtype: 'addressChange',
    requires: [
        'Ext.data.JsonP'
    ],
    config: {
        xtype:'panel',
        fullscreen:true,
        style:'background-color:#f9f9f9;',
        cls:'change_add_address',
        layout:{
            type:'vbox'
        },
        items:[
            {
                xtype:'toolbar',
                title:'收货地址管理',
                items:[
                    {
                        xtype:'image',
                        cls:'myinfo_back',
                        id:'change_address_back',
                        src:'resources/images/left-arrow.png',
                    }
                ]
            },
            {
                flex:2,
                // xtype:'list',
                // // id:'change_address',
                // style:'background-color:white',
                xtype:'formpanel',
                items:[
                    {
                        xtype:'panel',
                        cls:'personal_container border',
                        height:60,
                        layout:{
                            type:'hbox'
                        },
                        items:[
                            {
                                flex:7,
                                xtype: 'textfield',
                                // cls:'myinfo_change_myHeader',
                                // style:'line-height:60px;',
                                placeHolder:'收货人'
                            },
                            {
                                flex:1,
                                xtype:'image',
                                style:'margin-top:5%',
                                src:'resources/images/right.png',
                                cls:'myinfo_right'
                            }
                        ]
                    },
                    {
                        xtype:'panel',
                        cls:'personal_container border',
                        height:60,

                        layout:{
                            type:'hbox'
                        },
                        items:[
                            {
                                flex:7,
                                xtype: 'panel',
                                id:'xiaomaodiaoyu_001',
                                cls:'myinfo_change_myHeader',
                                style:'line-height:60px;',
                                html:[
                                    '安徽省合肥市'
                                ]
                            },
                            {
                                flex:1,
                                xtype:'image',
                                style:'margin-top:5%',
                                src:'resources/images/right.png',
                                cls:'myinfo_right'
                            }
                        ]
                    },
                    {
                        xtype:'panel',
                        cls:'personal_container border',
                        height:60,
                        layout:{
                            type:'hbox'
                        },
                        items:[
                            {
                                flex:7,
                                xtype: 'textfield',
                                // cls:'myinfo_change_myHeader',
                                // style:'line-height:60px;',
                                placeHolder:'详细地址'
                            },
                            {
                                flex:1,
                                xtype:'image',
                                style:'margin-top:5%',
                                src:'resources/images/right.png',
                                cls:'myinfo_right'
                            }
                        ]
                    },

                    {
                        xtype:'panel',
                        cls:'personal_container border',
                        height:60,
                        layout:{
                            type:'hbox'
                        },
                        items:[
                            {
                                flex:7,
                                xtype: 'textfield',
                                // cls:'myinfo_change_myHeader',
                                // style:'line-height:60px;',
                                placeHolder:'请输入手机号'
                            },
                            {
                                flex:1,
                                xtype:'image',
                                style:'margin-top:5%',
                                src:'resources/images/right.png',
                                cls:'myinfo_right'
                            }
                        ]
                    },
                    {
                        xtype:'panel',
                        cls:'personal_container border',
                        height:60,
                        layout:{
                            type:'hbox'
                        },
                        items:[
                            {
                                flex:7,
                                xtype: 'textfield',
                                // cls:'myinfo_change_myHeader',
                                // style:'line-height:60px;',
                                placeHolder:'请输入手机号'
                            },
                            {
                                flex:1,
                                xtype:'image',
                                style:'margin-top:5%',
                                src:'resources/images/right.png',
                                cls:'myinfo_right'
                            }
                        ]
                    },
                ]
            },
            {
                xtype:'panel',
                height:60,
                docked:'bottom',
                cls:'bottombar bgcolor',
                layout:{
                    type:'hbox',
                },
                items:[
                    {
                        flex:1,
                        xtype:'image',
                        src:'resources/images/del.png',
                        styleHtmlContent:true,
                        imageCls:'del',
                        html:[
                            '<span class="del_font">删除</span>'
                        ]
                    },
                    {
                        flex:5,
                        xtype:'panel',
                        items:[
                            {
                                xtype:'button',
                                text:'保存',
                                cls:'address_save'
                            }
                        ]
                    }
                ]
            }
        ]
    }
});
